package com.pattern.once.factory;

public class TestMain {

    public static void main(String[] args) {
        Creator creator = new ConcreteCreator(Product1.class);
        Product product = creator.createProduct();
        product.method2();
    }

}
